package com.py.credit.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.BatchFile;

/**
 * 
 * @author jicm
 *
 */
public interface BatchFileDao {
	/**
	 * 添加文件记录
	 * 
	 * @param batchId
	 * @param fname
	 * @param fpath
	 */
	public void addBatchFile(@Param(value = "batchId") String batchId, @Param(value = "fname") String fname,
			@Param(value = "fpath") String fpath, @Param(value = "macAddr") String macAddr);

	/**
	 * 获取未处理任务信息
	 * 
	 * @return
	 */
	public List<BatchFile> getUntreatedFiles();

	/**
	 * 获取未处理任务信息
	 * 
	 * @return
	 */
	public BatchFile selectBatchFile(@Param(value = "batchId") String batchId);

}
